package com.cimr.util;

import com.cimr.comm.util.ConfUtil;

import java.util.Objects;

/**
 * Created by liqi on 2018/2/5.
 * liqiwork@qq.com
 */
public class PermissionUtil {
    public final static boolean judgeAdministrator(String pending) {
        if ( Objects.equals(ConfUtil.getConf("administrator").trim(), pending.trim()) ) {
            return true;
        }
        return false;
    }
}
